<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>
/*每个页面公共css */
<style lang="scss">
	@import '@/static/font/iconfont.css';

	page {
		color: #000;
		font-size: 30rpx;
		font-family: '楷体';
	}

	page,
	view,
	text,
	image,
	navigator,
	scroll-view {
		box-sizing: border-box;
	}

	swiper {
		height: 444rpx;

		swiper-item {
			image {
				width: 100%;
				height: 100%;
			}
		}
	}

	.sell_price {
		font-size: 40rpx;
		color: $themeColor;
		margin-right: 10rpx;
	}

	.market_price {
		color: #cdcdcd;
		text-decoration: line-through;
	}

	// 富文本样式放全局才起效果
	.gomeImgLoad{
		width: 100%;
		height: auto;
	}

	.flex {
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.PS {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
	}

	.active {
		color: #fff;
		font-weight: 700;
		background-color: $themeColor;
	}

	.oneTextOverflow,
	.manyTextOverflow {
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.oneTextOverflow {
		white-space: nowrap;
	}

	/* 需要传递一个	-webkit-line-clamp: 第几行隐藏; */
	.manyTextOverflow {
		display: -webkit-box;
		-webkit-box-orient: vertical;
	}

	.M {
		margin: $margin;
	}

	.MT {
		margin-top: $margin;
	}

	.MR {
		margin-right: $margin;
	}

	.MB {
		margin-bottom: $margin;
	}

	.ML {
		margin-left: $margin;
	}

	.MTB {
		margin: $margin 0;
	}

	.MLR {
		margin: 0 $margin;
	}

	.P {
		padding: $padding;
	}

	.PT {
		padding-top: $padding;
	}

	.PR {
		padding-right: $padding;
	}

	.PB {
		padding-bottom: $padding;
	}

	.PL {
		padding-left: $padding;
	}

	.PTB {
		padding: $padding 0;
	}

	.PLR {
		padding: 0 $padding;
	}
</style>
